﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BookForm.cls
{
    class Setting
    {
        private Setting()
        {
        }
        private static string _Version = "20080606";
        public static string Version
        {
            get { return _Version; }
            set { _Version = value; }
        }

        private static int _MinTopicPoint;
        public static int MinTopicPoint
        {
            get { return _MinTopicPoint; }
            set { _MinTopicPoint = value; }
        }


        private static int _MaxTopicReplies = 20;

        public static int MaxTopicReplies
        {
            get { return _MaxTopicReplies; }
            set { _MaxTopicReplies = value; }
        }

        private static int _RefreshMinutes = 3;

        public static int RefreshMinutes
        {
            get { return _RefreshMinutes; }
            set { _RefreshMinutes = value; }
        }

        //private static Font _Fonts = new Font();

        //public static Font Fonts
        //{
        //    get { return _Fonts; }
        //    set { _Fonts = value; }
        //}

        private static int _RefreshInterval = 600000;

        public static int RefreshInterval
        {
            get { return _RefreshInterval; }
            set { _RefreshInterval = value; }
        }

        private static bool _ShowTopicTab = true;

        public static bool ShowTopicTab
        {
            get { return _ShowTopicTab; }
            set { _ShowTopicTab = value; }
        }


        private static int _NewMessageInterval = 60000;

        public static int NewMessageInterval
        {
            get { return _NewMessageInterval; }
            set { _NewMessageInterval = value; }
        }

        private static string _Signature = "";

        public static string Signature
        {
            get { return _Signature; }
            set { _Signature = value; }
        }


        private static int _HideInfoInterval = 3000;

        public static int HideInfoInterval
        {
            get { return _HideInfoInterval; }
            set { _HideInfoInterval = value; }
        }

        private static bool _MarkAllReaded;

        public static bool MarkAllReaded
        {
            get { return _MarkAllReaded; }
            set { _MarkAllReaded = value; }
        }

        private static bool _ShowNewTopic = true;

        public static bool ShowNewTopic
        {
            get { return _ShowNewTopic; }
            set { _ShowNewTopic = value; }
        }

        private static bool _ShowRepliedTopic = true;

        public static bool ShowRepliedTopic
        {
            get { return _ShowRepliedTopic; }
            set { _ShowRepliedTopic = value; }
        }

        private static bool _ShowMaxPoint;

        public static bool ShowMaxPoint
        {
            get { return _ShowMaxPoint; }
            set { _ShowMaxPoint = value; }
        }


        #region 代理相关
        private static bool _UseProxy;

        public static bool UseProxy
        {
            get { return _UseProxy; }
            set { _UseProxy = value; }
        }

        private static bool _IEProxy;

        public static bool IEProxy
        {
            get { return _IEProxy; }
            set { _IEProxy = value; }
        }

        private static string _ProxyServer = "";

        public static string ProxyServer
        {
            get { return _ProxyServer; }
            set { _ProxyServer = value; }
        }

        private static string _ProxyPort = "";

        public static string ProxyPort
        {
            get { return _ProxyPort; }
            set { _ProxyPort = value; }
        }
        private static string _ProxyUsername = "";

        public static string ProxyUsername
        {
            get { return _ProxyUsername; }
            set { _ProxyUsername = value; }
        }

        private static string _ProxyPassword = "";

        public static string ProxyPassword
        {
            get { return _ProxyPassword; }
            set { _ProxyPassword = value; }
        }
        #endregion 代理相关
    }
}
